Avoid code duplication between prev_frame and next_frame.
authorDmitry Antipov <dmantipov@yandex.ru>
Thu, 6 Dec 2012 06:23:51 +0000 (10:23 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Thu, 6 Dec 2012 06:23:51 +0000 (10:23 +0400)
commitb285e36508a647f5004b921fa2d3d30f7d400524
tree4be01da41bfa9fac9b5779f951a4c8ae9fc794ab
parent9e1ba9c2b816823aa8982fb5ba1fa7bc8171bb71
Avoid code duplication between prev_frame and next_frame.
* frame.c (candidate_frame): New function.  Add comment.
(prev_frame, next_frame): Use it.  Adjust comment.
src/ChangeLog
src/frame.c